package system

import (
	"gin-admin/handler"

	"github.com/gin-gonic/gin"
)

func RegisterCommonRoutes(group *gin.RouterGroup) {
	captchaGroup := group.Group("/common")
	handlerApp := handler.NewHandlerApp(nil)
	{
		captchaGroup.GET("/captcha", handlerApp.V1App.CaptchaHandler.GetCaptchaHandler)
		captchaGroup.POST("/verifyCaptcha", handlerApp.V1App.CaptchaHandler.VerifyCaptchaHandler)
	}
}
